IMarketDataStorage
StockSharp.Algo.Storages
The interface, describing the storage of market data (ticks, order books etc.).
属性
Serializer : IMarketDataSerializer<T>
The serializer.
方法
DeleteAsync(IEnumerable<T>, CancellationToken) : ValueTask
To delete market data from storage.
- data
- Market data to be deleted.
- cancellationToken
- CancellationToken
返回值: ValueTask
LoadAsync(DateTime) : IAsyncEnumerable<T>
To load data.
- date
- Date, for which data shall be loaded.
返回值: Data. If there is no data, the empty set will be returned.
SaveAsync(IEnumerable<T>, CancellationToken) : ValueTask<int>
To save market data in storage.
- data
- Market data.
- cancellationToken
- CancellationToken
返回值: Count of saved data.